<?php
/**
 * @Author: rocky
 * @Copyright: 广州拓冠科技 <http://my8m.com>
 * Date: 2019/7/15
 * Time: 14:08
 */


namespace app\common\service;


class Status
{
    //年级
    public static function GRADESTATUS()
    {
        return [
            1 => '大一',
            2 => '大二',
            3 => '大三',
            4 => '大四',
        ];
    }

    //会员卡状态
    public static function CARDSTATUS()
    {
        return [
            0 => '待激活',
            1 => '使用中',
            2 => '已过期',
        ];
    }
    
    // 会员卡类型
    public static function CARDTYPE()
    {
        return [
            1 => '周卡',
            2 => '月卡',
            3 => '季卡',
            4 => '年卡',
            5 => '体验卡',
            6 => '学期'

        ];
    }

    // 使用状态
    public static function USETYPE()
    {
        return [
            0 => '待使用',
            1 => '已使用',
            2 => '已过期',
        ];
    }

    //订单状态
    public static function ORDERSTATUS()
    {
        return [
            -1 => '关闭订单',
            8 => '待接单',
            1 => '待付款',
            2 => '已预约',
            3 => '洗衣中',
            4 => '待取件',
            5 => '已完成'
        ];
    }


    //订单类型
    public static function SHOPTYPE()
    {
        return [
            1 => '预约订单',
            5 => '充值订单',
            6 => '会员卡订单'
        ];
    }
    
    //商品状态
    public static function SHOPSTATUS()
    {
        return [
            1 => '上架',
            0 => '下架',
        ];
    }

    //支付方式
    public static function PAYTYPE()
    {
        return [
            1 => '微信支付',
            2 => '线下支付',
            3 => '余额支付',
            4 => '会员卡支付'
        ];
    }

    //订单状态
    public static function PAYSTATUS()
    {
        return [
            1 => '已支付',
            0 => '未支付',
        ];
    }

    //拼团状态
    public static function SPELLTATUS()
    {
        return [
            0 => '待付款',
            1 => '拼团中',
            2 => '拼团成功',
            3 => '拼团失败',
        ];
    }

    //配送方式
    public static function EXPRESSTYPE()
    {
        return [
            1 => '快递',
            2 => '自提',
        ];
    }

    //账单类型
    public static function ACCOUNTTYPE()
    {
        return [
            1 => '收入',
            2 => '支出',
        ];
    }

    //提现状态
    public static function WITHDRAWSTATUS()
    {
        return [
            1 => '未打款',
            2 => '已打款',
            3 => '拒绝打款'
        ];
    }

    //性别
    public static function SEXSTATUS()
    {
        return [
            1 => '男',
            2 => '女',
        ];
    }

    //有无
    public static function HAVESTATUS()
    {
        return [
            1 => '有',
            0 => '无',
        ];
    }

    //商品类型
    public static function GOODSTYPE()
    {
        return [
            1 => '普通商品',
        ];
    }

    //钱包明细类型
    public static function WALLETTYPE()
    {
        return [
            1 => '支出',
            2 => '收入',
        ];
    }
    //售后类型
    public static function REFUNDTYPE()
    {
        return [
            1 => '退货退款',
            2 => '换货',
        ];
    }

    //售后状态
    public static function REFUNDSTATUS()
    {
        return [
            -1 => '取消售后',
            0 => '拒绝售后',
            1 => '申请售后',
            2 => '同意换货',
            3 => '用户已寄回',
            4 => '已退款完成',
            5 => '已换货完成'
        ];
    }
    //活动状态
    public static function ACTIVITYSTATUS()
    {
        return [
            0 => '未开始',
            1 => '进行中',
            2 => '已过期',
        ];
    }
    
    //审核是否通过
    public static function ISPASS()
    {
        return [
            0 => '未通过',
            1 => '已通过',
        ];
    }
}